Congress members are known for hearing important information that could indicate either the sentiment of the stock market or industry sectors status that could lead to a rally or crash.
I am using two APIs one for the House and one for the Senate that was set up by a company called Stock Watcher, which they scrap the governments website (House and Senate) for public filings of financial transactions from congress members. These website only show one or the other congress bodies and wanted to combine these data sets to get a bigger picture of the sentiment of trades that are occurring.
This report was made for entertainment purposes and I will continuously update it with improvements in insight and look for new ways and packages that could be leveraged for data analytics on congress members’ sentiment in the market and on certain stocks. Lets level the playing field!
The data was filtered down to only stocks in the SP 500 and back to 2020 transactions.
## name 2020 2021 2022 2023
## 1: number_transactions 4115 2816 1832 479
## 2: number_members 105 100 74 48
## 3: number_stocks 427 371 337 201
## 4: average_days_disclosed 37 42 26 27
Looking at the volume and type of trade that has occurred monthly compared to the movement of SPY (SP 500 Index ETF) over the last 36 months.
The last 3 months summarized by stock.